package pers.lws.erp.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author liuws
 * @since 2020-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ProductionPlan implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 生产计划id
     */
    @TableId(value = "production_id", type = IdType.INPUT)
    private String productionId;

    /**
     * 生产数量
     */
    private Integer productNumber;

    /**
     * 小计
     */
    private BigDecimal sumPrice;

    /**
     * 审核标志
     */
    private Integer checked;

    /**
     * 制定人
     */
    private String registerName;

    @Version
    private Integer version;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
